while(True):
    pwd = input("请输入密码:")
    if(pwd == "123456"):
        print("密码正确！")
        break
    else:
        print("密码错误！请重新输入")